package com.blacksheep.mtm.service.Impl;

import com.blacksheep.mtm.dao.TbOrderFinishMapper;
import com.blacksheep.mtm.pojo.manager.TbOrderFinish;
import com.blacksheep.mtm.service.OrderFinishService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderFinishServiceImpl  implements OrderFinishService {

    @Autowired
    private TbOrderFinishMapper finishMapper;
    @Override
    public TbOrderFinish getOneByOrderId(String orderId) {

        return finishMapper.selectByOrderId(orderId);
    }
}
